package vo;

/**
 * @author 熊诗友
 * @since 2025/4/27 20:39
 */
public class DeptVo extends BaseVo {

    /**
     * 主键 ID
     */
    public int id;

    /**
     * 部门名称
     */
    public String name;

    /**
     * 部门电话
     */
    public String phone;

    public DeptVo() {
    }

    public DeptVo(int id, String name, String phone) {
        super(id);
        this.name = name;
        this.phone = phone;
    }

    @Override
    public String toString() {
        return String.format("ID：%d,名称：%s,电话：%s",id,name,phone);
    }
}
